import React from 'react';
import {
    Button,
    View,
} from 'react-native';

// 本页面通过调用父页面(PageDefault.js)的navigation实现跳转
export default class PageAnimateList extends React.Component {
    render() {
        const { navigate } = this.props.navigation;
        return (
            <View>
                <View style={{height: 15, backgroundColor: 'white', opacity: 0.5}}/>
                <Button
                    title="PanResponser"
                    onPress={() => navigate('PagePanResponser')}/>
                <View style={{height: 15, backgroundColor: 'white', opacity: 0.5}}/>
                <Button
                    title="Animate"
                    onPress={() => navigate('PageAnimate')}/>
                <View style={{height: 15, backgroundColor: 'white', opacity: 0.5}}/>
                <Button
                    title="LayoutAnimate"
                    onPress={() => navigate('PageLayoutAnimate')}/>
            </View>
        );
    }
}


